/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package my.engine.client.objects;

import javax.swing.JPanel;

/**
 *
 * @author emikolenko
 */
public class FormObject {
    
    private String name;
    private JPanel serviceForm;

    public FormObject(String name, JPanel serviceForm) {
        this.name = name;
        this.serviceForm = serviceForm;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public JPanel getServiceForm() {
        return serviceForm;
    }

    public void setServiceForm(JPanel serviceForm) {
        this.serviceForm = serviceForm;
    }

    @Override
    public String toString() {
        return this.name;
    }
}
